package com.xqt.dao.sys;

import com.xqt.base.dao.BaseDao;
import com.xqt.base.page.BasePage;
import com.xqt.entity.sys.SysMember;
import org.mybatis.spring.SqlSessionTemplate;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 用户基础表Dao
 * 
 * @author 梁华

 */
@Repository
public class SysMemberDao extends BaseDao<SysMember>{
	@Autowired
	@Qualifier("readSqlSession")
	private SqlSessionTemplate readSqlSession;

	@Autowired
	@Qualifier("writeSqlSession")
	private SqlSessionTemplate writeSqlSession;


	public SysMember queryByName(Object name){
		return  readSqlSession.selectOne("read.sysmember.queryByName",name);
	};



}
